package com.jinzhi.jzweb.dao;

import com.jinzhi.common.base.BaseDao;
import com.jinzhi.jzweb.domain.CertificatesDO;
import com.jinzhi.jzweb.pojo.CertificatesVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * X证书
 * </pre>
 * <small> 2020-02-24 21:00:11 | lance</small>
 */
public interface CertificatesDao extends BaseDao<CertificatesDO> {

    CertificatesDO selAll(@Param("numbers") String numbers);

    List<CertificatesVo> selExportAll(@Param("cbatchId") Long cbatchId);

    List<Map> selCbatchList();

    List<String> selImgUrls(Map map);

    String selCerNumber(@Param("cerNums") String cerNums);
    //查询列表全部
    List<CertificatesDO> certificatesListX();

    //修改成阿里云OSS路径
    int updateCertificateX(@Param("imgUrl") String imgUrl,@Param("id") String id);
}
